<template>
	<view class="container">
		<view class="" style="background-color: #FFFFFF;">
			<view class="payment">
				<view class="payment-item" style="color: #999999;" >
					选择银行卡
				</view>
				<view class="payment-item">
					<img src="../../static/payment/card.png" >建设银行储存卡  尾号3940
				</view>
				<view class="payment-item">
					<i class="cuIcon-pay" style="font-size: 40rpx;color: #3476F1;"></i>钱包支付
				</view>
				<view class="payment-item" style="border: none;" @tap="toBankCard">
					<img src="../../static/payment/add.png" >添加银行卡
				</view>
			</view>
		</view>
		<view style="padding: 20rpx;position: absolute;bottom: 50rpx;width: 100vw;">
			<button class="cu-btn block bg-blue margin-tb-sm lg" @tap="toSuccessful">确认支付500.00</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onReady(){
			
		},
		methods: {
			toBankCard(){
				uni.navigateTo({
					url:'../bankCard/addBankCard'
				})
			},
			toSuccessful(){
				uni.reLaunch({
					url:'../successful/successful'
				})
			}
		}
	}
</script>

<style scoped="scoped" lang="scss">
	.container{
		height: 100%;
		border-top: 1rpx solid #dadada;
		.payment{
			width: 100%;
			padding-left: 25rpx;
			padding-right: 25rpx;
			.payment-item{
				height: 100rpx;
				background-color: white;
				border-bottom: 1rpx solid #c7c7c7;
				line-height: 100rpx;
				display: flex;
				align-items: center;
				padding-left: 10rpx;
				color: #333333;
				font-size: 30rpx;
				i{
					padding-right: 20rpx;
				}
				img{
					width: 40rpx;
					height: 40rpx;
					padding-right: 20rpx;
					box-sizing: content-box;
				}
			}
		}
	}
</style>
